package com.scoy.honeymei.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * ClassName:      com.scoy.honeymei.bean
 * Description:
 * Author:         GaoZhan & Administrator
 * UpdateDate:     2019/10/16/0016$ 下午 16:38$
 * UpdateRemark:   更新内容
 */
public class GoodsBean implements Parcelable {


    /**
     * id : 332
     * name : 阿玛尼红管405G
     * goodscategory_id : 39
     * money : 255.00
     * image : /uploads/20200814/b866602af277d882bc8b01e484c204df.jpg
     * images : /uploads/20200814/d7a89848e7509585255889a86f34348d.jpg
     * status : 1
     * shop_id : 65
     * number : 0
     * content : <p> </p>
     * ishot : 1
     * fx_title : ''
     * fx_miaoshu : ''
     * fx_image : ''
     * shop_ishot :
     * shop_cate_id : 1
     * star : 1
     * stock : 1
     * shop_name : 张晓东
     * status_text : Status 1
     */

    private int id;
    private String name;
    private String goodscategory_id;
    private String money;
    private String image;
    private String images;
    private String status;
    private int shop_id;
    private int number;
    private String content;
    private String ishot;
    private String fx_title;
    private String fx_miaoshu;
    private String fx_image;
    private String shop_ishot;
    private int shop_cate_id;
 //   private String star;
    private int stock;
    private String shop_name;
    private String status_text;
    private String shop_image;

    protected GoodsBean(Parcel in) {
        id = in.readInt();
        name = in.readString();
        goodscategory_id = in.readString();
        money = in.readString();
        image = in.readString();
        images = in.readString();
        status = in.readString();
        shop_id = in.readInt();
        number = in.readInt();
        content = in.readString();
        ishot = in.readString();
        fx_title = in.readString();
        fx_miaoshu = in.readString();
        fx_image = in.readString();
        shop_ishot = in.readString();
        shop_cate_id = in.readInt();
    //    star = in.readString();
        stock = in.readInt();
        shop_name = in.readString();
        status_text = in.readString();
        shop_image = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeString(name);
        dest.writeString(goodscategory_id);
        dest.writeString(money);
        dest.writeString(image);
        dest.writeString(images);
        dest.writeString(status);
        dest.writeInt(shop_id);
        dest.writeInt(number);
        dest.writeString(content);
        dest.writeString(ishot);
        dest.writeString(fx_title);
        dest.writeString(fx_miaoshu);
        dest.writeString(fx_image);
        dest.writeString(shop_ishot);
        dest.writeInt(shop_cate_id);
    //    dest.writeString(star);
        dest.writeInt(stock);
        dest.writeString(shop_name);
        dest.writeString(status_text);
        dest.writeString(shop_image);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<GoodsBean> CREATOR = new Creator<GoodsBean>() {
        @Override
        public GoodsBean createFromParcel(Parcel in) {
            return new GoodsBean(in);
        }

        @Override
        public GoodsBean[] newArray(int size) {
            return new GoodsBean[size];
        }
    };

    public String getShop_image() {
        return shop_image;
    }

    public void setShop_image(String shop_image) {
        this.shop_image = shop_image;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGoodscategory_id() {
        return goodscategory_id;
    }

    public void setGoodscategory_id(String goodscategory_id) {
        this.goodscategory_id = goodscategory_id;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getShop_id() {
        return shop_id;
    }

    public void setShop_id(int shop_id) {
        this.shop_id = shop_id;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getIshot() {
        return ishot;
    }

    public void setIshot(String ishot) {
        this.ishot = ishot;
    }

    public String getFx_title() {
        return fx_title;
    }

    public void setFx_title(String fx_title) {
        this.fx_title = fx_title;
    }

    public String getFx_miaoshu() {
        return fx_miaoshu;
    }

    public void setFx_miaoshu(String fx_miaoshu) {
        this.fx_miaoshu = fx_miaoshu;
    }

    public String getFx_image() {
        return fx_image;
    }

    public void setFx_image(String fx_image) {
        this.fx_image = fx_image;
    }

    public String getShop_ishot() {
        return shop_ishot;
    }

    public void setShop_ishot(String shop_ishot) {
        this.shop_ishot = shop_ishot;
    }

    public int getShop_cate_id() {
        return shop_cate_id;
    }

    public void setShop_cate_id(int shop_cate_id) {
        this.shop_cate_id = shop_cate_id;
    }

/*    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }*/

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public String getShop_name() {
        return shop_name;
    }

    public void setShop_name(String shop_name) {
        this.shop_name = shop_name;
    }

    public String getStatus_text() {
        return status_text;
    }

    public void setStatus_text(String status_text) {
        this.status_text = status_text;
    }
}
